package com.caption.remote;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name="cloud-provider", fallback = PaymentFallBackImpl.class)
public interface PaymentRemote {
    @GetMapping("/payment/pay")
    public String pay();
}
